<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
 
<!doctype html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>小米商城添加商品</title>
		<link href="static/bootstrap/css/bootstrap-datetimepicker.min.css"
	rel="stylesheet" media="screen">
<link rel="stylesheet" type="text/css"
	href="static/bootstrap-3.3.7-dist/css/bootstrap.min.css" />
<style type="text/css">
			#containter {
	width: 80%;
	margin: 0 auto;
}
		</style>
	</head>

	<body style="background-color:#F3F3F4">
		<div id="containter">
		<form class="form-horizontal" action="AddProjects"  method="post" enctype="multipart/form-data">	
	   <div class="form-group" style="margin-top: 30px;">
				<label class="col-sm-2 control-label col-sm-offset-2">商品名称</label>
				<div class="col-sm-3">
					<input type="text" class="form-control"  id="goods_name" 
						name="goods_name" placeholder="请输入商品名称">
				</div></div>
	 <div class="form-group" style="margin-top:30px;">
				<label class="col-sm-2 control-label col-sm-offset-2">商品价格</label>
				<div class="col-sm-3">
					<input type="text"class="form-control"  id="goods_price" 
						name="goods_price" placeholder="请输入商品价格">
				</div>
			</div>
		 <div class="form-group" style="margin-top:30px;">
				<label class="col-sm-2 control-label col-sm-offset-2">商品种类</label>
				<div class="col-sm-3">
					<select style="height: 40px;" class="form-control" name="goods_kind" >
					<option value="手机">手机</option>
					<option value="笔记本电脑">笔记本电脑</option>
					<option value="小米手环">小米手环</option>
					<option value="巨无霸">巨无霸</option>
					<option value="秦天柱">秦天柱</option>
				</select>
			</div></div>
			<div class="form-group" style="margin-top:30px;">
				<label class="col-sm-2 control-label col-sm-offset-2">商品库存</label>
				<div class="col-sm-3">
					<input type="text"class="form-control"  id="goods_storage"
						name="goods_storage"placeholder="请输入商品库存">
				</div></div>
				<div class="form-group" style="margin-top:30px;">
				<label class="col-sm-2 control-label col-sm-offset-2">商品状态</label>
				<div class="col-sm-3">
					<select style="height: 35px;" class="form-control"  id="goods_status"name="goods_status">
					<option value="0">1</option>
					<option value="1">0</option>
				</select>
			</div></div>
			<div class="form-group" style="margin-top:30px;">
				<label class="col-sm-2 control-label col-sm-offset-2">商品描述</label>
				<div class="col-sm-3">
					<textarea rows="5" cols="35" class="form-control" name="goods_describe"></textarea>
			</div>
			</div>
			<div class="form-group" style="margin-top:30px;">
				<label class="col-sm-2 control-label col-sm-offset-2">商品图片</label>
				<div class="col-sm-3">
					<input style="height: 35px;" type="file" class="form-control"  id="goods_img" name="goods_img">
					</div></div>
							<div class="form-group" style="margin-top: 0px;">
				<div class="col-sm-offset-4 col-sm-2">
					<button  type="submit" class="btn btn-default">确认添加</button>
				</div>
			</div>
		</form>
		</div>
	</body>

</html>